Emmanuel Ackaouy [Fri, 5 Jan 2007 17:34:34 +0000 (17:34 +0000)]
Enable compatibility mode operation for HYPERVISOR_set_trap_table and
HYPERVISOR_set_gdt.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Emmanuel Ackaouy [Fri, 5 Jan 2007 17:34:33 +0000 (17:34 +0000)]
Merge vcpuop compat header creation
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
Emmanuel Ackaouy [Fri, 5 Jan 2007 17:34:33 +0000 (17:34 +0000)]
Enable compatibility mode operation for HYPERVISOR_vcpu_op.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Emmanuel Ackaouy [Fri, 5 Jan 2007 17:34:32 +0000 (17:34 +0000)]
Enable compatibility mode operation for HYPERVISOR_physdev_op and
HYPERVISOR_event_channel_op.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Emmanuel Ackaouy [Fri, 5 Jan 2007 17:34:31 +0000 (17:34 +0000)]
Enable compatibility mode operation for HYPERVISOR_mmu_update and
HYPERVISOR_mmuext_op.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Emmanuel Ackaouy [Fri, 5 Jan 2007 17:34:31 +0000 (17:34 +0000)]
Enable compatibility mode operation for HYPERVISOR_memory_op,
HYPERVISOR_update_descriptor, HYPERVISOR_update_va_mapping. This also
introduces infrastructure to do argument translation.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Emmanuel Ackaouy [Fri, 5 Jan 2007 17:34:30 +0000 (17:34 +0000)]
Adjust emulation code to deal with compatibility mode guests. This
includes enhancements to emulate_privileged_op() that aren't directly
related to such guests.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Emmanuel Ackaouy [Fri, 5 Jan 2007 17:34:30 +0000 (17:34 +0000)]
Add page table setup and handling, including the creation of an m2p table
meaningful to compatibility mode guests.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Emmanuel Ackaouy [Fri, 5 Jan 2007 17:34:29 +0000 (17:34 +0000)]
Handle shared info (having different layout for native and compatibility
mode guests) accesses.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Emmanuel Ackaouy [Fri, 5 Jan 2007 17:34:28 +0000 (17:34 +0000)]
Handle the creation of startup info for compatibility mode guests. This
includes a script to auto-generate checking or translation code between
native and compatibility mode hypercall argument structures.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Emmanuel Ackaouy [Fri, 5 Jan 2007 17:34:28 +0000 (17:34 +0000)]
Add logic to generate headers reflecting the compatibility mode layout
of hypercall arguments. Provide infrastructure for accessing handles
passed from compatibility mode guests. Vector those hypercalls not
needing any translation to their native implementations.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Emmanuel Ackaouy [Fri, 5 Jan 2007 17:34:27 +0000 (17:34 +0000)]
Add entry points for handling hypercalls from and returning to
compatibility mode guests.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Emmanuel Ackaouy [Fri, 5 Jan 2007 17:32:00 +0000 (17:32 +0000)]
Introduce _DOMF_compat and infrastructure as well as several conditionals
dealing with operations that need to distinguish between native and
compatibility mode guests.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Alastair Tse [Fri, 5 Jan 2007 17:24:55 +0000 (17:24 +0000)]
[XEND] Fix some Xen API error declarations.
Signed-off-by: Alastair Tse <atse@xensource.com>
Tim Deegan [Fri, 5 Jan 2007 16:28:42 +0000 (16:28 +0000)]
[HVM] Sync the base memory reported by ROMBIOS with the e820 map.
This stops Etherboot relocating itself onto the SMBIOS tables.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Ewan Mellor [Fri, 5 Jan 2007 16:11:49 +0000 (16:11 +0000)]
Catch exception from dumpCore when inside refreshShutdown.
Thanks to John Levon <levon@movementarian.org> for diagnosis and suggesting the
fix.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@localhost.localdomain [Fri, 5 Jan 2007 15:57:23 +0000 (15:57 +0000)]
[XEN] Remove an out-of-date comment.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 5 Jan 2007 15:54:06 +0000 (15:54 +0000)]
[XEN] Add more instructions to the emulator.
Fix prefix handling to ignore misplaced REX bytes and to grok both
kinds of REP prefix properly. These fixes are from Jan Beulich
<jbeulich@novell.com>.
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Fri, 5 Jan 2007 15:52:58 +0000 (15:52 +0000)]
Fix examples to have correct class names and error handling.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Fri, 5 Jan 2007 15:51:39 +0000 (15:51 +0000)]
Added session.last_active field. Removed the constructors and destructors for
session and task classes -- these are implicitly added and removed, so we
should not have explicit constructors and destructors for them.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Fri, 5 Jan 2007 15:50:20 +0000 (15:50 +0000)]
Added NETWORK_ALREADY_CONNECTED error code to the documentation.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Fri, 5 Jan 2007 15:38:01 +0000 (15:38 +0000)]
Record the last shutdown reason for each VM in the store.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Fri, 5 Jan 2007 15:34:47 +0000 (15:34 +0000)]
Rename the 3DNOW and 3DNOWEXT API constants to THREEDNOW, so that they may be
used directly as identifiers in bindings.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@localhost.localdomain [Fri, 5 Jan 2007 14:44:58 +0000 (14:44 +0000)]
[XEN] Fix EA calculation for POP <rm> when stack pointer is used as
base of the EA calculation. It should be used *post* increment.
Original patch from Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Fri, 5 Jan 2007 12:33:23 +0000 (12:33 +0000)]
Fix bindings for PIF_set_MAC and PIF.set_MTU.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Fri, 5 Jan 2007 12:32:40 +0000 (12:32 +0000)]
Fix missing import, and a small tidyup.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Fri, 5 Jan 2007 12:31:49 +0000 (12:31 +0000)]
Remove broken and unused set_u32.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Fri, 5 Jan 2007 12:30:32 +0000 (12:30 +0000)]
Treat <value> tags with no type tag inside as if they were strings (as required
by the XML-RPC spec).
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Fri, 5 Jan 2007 12:29:26 +0000 (12:29 +0000)]
Added permissiveness for floats.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@localhost.localdomain [Fri, 5 Jan 2007 11:03:16 +0000 (11:03 +0000)]
Xen 3.0.3 pre-pended all configuration prior to the user-specified
args in the boot cmdline. Restore this behaviour to fix
incompatabilities with fragile parsers in some domU kernels.
Signed-off-by: John Levon <john.levon@sun.com>
kfraser@localhost.localdomain [Fri, 5 Jan 2007 10:58:48 +0000 (10:58 +0000)]
Fix xend stop if we're run directly instead of via the caretaker parent.
Signed-off-by: John Levon <john.levon@sun.com>
kfraser@localhost.localdomain [Fri, 5 Jan 2007 10:55:55 +0000 (10:55 +0000)]
[XEN] Add LEA to the Xen x86 emulator. Rename x86_emulate_memop() to
x86_emulate(), as the emulator now does more than emulation of
'special' memory accesses.
Signed-off-by: Keir Fraser <keir@xensource.com>
Ian Campbell [Fri, 5 Jan 2007 10:40:19 +0000 (10:40 +0000)]
merge
Ian Campbell [Fri, 5 Jan 2007 10:39:45 +0000 (10:39 +0000)]
[TOOLS] Fix typo in XenDomainInfo:device_configure.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
kfraser@localhost.localdomain [Fri, 5 Jan 2007 10:38:48 +0000 (10:38 +0000)]
[XEN] Add extra opcodes to emulator. Fix operand-size
computation for 64-bit PUSH/POP.
Signed-off-by: Keir Fraser <keir@xensource.com>
Alastair Tse [Thu, 4 Jan 2007 16:42:44 +0000 (16:42 +0000)]
[XEND] Fix block-list for dom0 in xm.
Signed-off-by: Alastair Tse <atse@xensource.com>
Alastair Tse [Thu, 4 Jan 2007 16:34:19 +0000 (16:34 +0000)]
[XEND] Prevent exception if PIF does not have a network.
Signed-off-by: Alastair Tse <atse@xensource.com>
Alastair Tse [Thu, 4 Jan 2007 16:31:29 +0000 (16:31 +0000)]
[XEND] Add VBD_MODE enum from XenAPI.
Signed-off-by: Alastair Tse <atse@xensource.com>
Alastair Tse [Thu, 4 Jan 2007 16:30:20 +0000 (16:30 +0000)]
[XEND] Default values for VBD mode and cpu_weight.
Signed-off-by: Alastair Tse <atse@xensource.com>
Alastair Tse [Thu, 4 Jan 2007 16:21:12 +0000 (16:21 +0000)]
[XEND] Only use DevController to generate SXP for running domains.
Otherwise the previous patch breaks managed domains in xm list.
Signed-off-by: Alastair Tse <atse@xensource.com>
kfraser@localhost.localdomain [Thu, 4 Jan 2007 15:58:20 +0000 (15:58 +0000)]
[XEND] Allow arbitrary values for the vif 'type'.
Signed-off-by: David Edmondson <dme@sun.com>
Christian Limpach [Thu, 4 Jan 2007 15:50:08 +0000 (15:50 +0000)]
[linux] Fix vsnprintf patch not to write null byte past the end of the buffer.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Alastair Tse [Thu, 4 Jan 2007 15:32:26 +0000 (15:32 +0000)]
[XEND] Parse as much device SXP as possible.
Fix vtpm device check and xm list --long listing detached block devices.
Signed-off-by: Alastair Tse <atse@xensource.com>
Steven Hand [Thu, 4 Jan 2007 15:08:40 +0000 (15:08 +0000)]
[XM-TEST] Tweak 06_block-destroy_check_list_pos to allow more time to check
block device has gone away from point of view of domain sxp.
Signed-off-by: Steven Hand <steven@xensource.com>
Alastair Tse [Thu, 4 Jan 2007 14:25:58 +0000 (14:25 +0000)]
Switch hotplug scripts to use /bin/bash rather than /bin/sh.
Hotplug scripts include certain bash-isms that are not supported under
some distros' default shell (eg. Ubuntu 6.10's use of dash)
Signed-off-by: Alastair Tse <atse@xensource.com>
Christian Limpach [Thu, 4 Jan 2007 13:05:09 +0000 (13:05 +0000)]
[linux] Remove some gratuitous differences with plain 2.6.16.33.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Steven Hand [Thu, 4 Jan 2007 10:58:01 +0000 (10:58 +0000)]
Make sure we always have a sensible idle function; this fixes problems
booting dom0 on AMD introduced by -unstable cset 13213:
bf25488db8eb.
Signed-off-by: Steven Hand <steven@xensource.com>
kfraser@localhost.localdomain [Thu, 4 Jan 2007 10:20:45 +0000 (10:20 +0000)]
[XEND] Fix allocation of fixed VNC ports.
From: MArk Williamson <mark.williamson@cl.cam.ac.uk>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 4 Jan 2007 10:17:34 +0000 (10:17 +0000)]
[XEN] Avoid use of GNU-specific memmem().
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@localhost.localdomain [Wed, 3 Jan 2007 23:53:27 +0000 (23:53 +0000)]
[XEN] Make labels _start,_end,_stext,_etext,_sinittext,_einittext generic.
Also sync the tools/symbol.c symbol table generator with Linux.
Make section names generic (e.e.g, .init.text, .init.data, ...).
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 3 Jan 2007 14:08:42 +0000 (14:08 +0000)]
[LINUX] Implement the idle=poll option in the kernel when running on Xen.
This causes the kernel to use a polling loop rather than hypercall
down to block. I have found this useful to profile the amount of sleep
cycles when using xenoprof, there may be other uses.
Signed-off-by: Amitabha Roy <amitabha.roy@gmail.com>
Ian Campbell [Wed, 3 Jan 2007 13:55:53 +0000 (13:55 +0000)]
[IOEMU] Process reset requests before returning control to the guest.
Since 12899:
4ae4bdee00e Xen only pays attention the first shutdown or
reboot request for a domain.
When a reset if requested we need to make the SCHEDOP_remote_shutdown
hypercall before we return control to the guest so that it wins the
"race" with the heuristic in xen/arch/x86/hvm/hvm.c:hvm_vcpu_down()
which causes a powerdown.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
kfraser@localhost.localdomain [Wed, 3 Jan 2007 13:46:23 +0000 (13:46 +0000)]
[LINUX] Build blktap as module named xenblktap.
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Tue, 2 Jan 2007 14:46:13 +0000 (14:46 +0000)]
Reset the option-parsing object before using it -- this means that the
option parsing works when using xm shell.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 2 Jan 2007 14:45:32 +0000 (14:45 +0000)]
Minor extra logging.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@localhost.localdomain [Wed, 3 Jan 2007 10:54:49 +0000 (10:54 +0000)]
Remove stray tabs.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 3 Jan 2007 10:53:45 +0000 (10:53 +0000)]
[HVM][SVM] Triple faulkts (shutdown state) causes domain reset.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 3 Jan 2007 10:01:32 +0000 (10:01 +0000)]
[HVM] Add triple-fault handler (resets the domain).
Todo: How to hook this for SVM?
Signed-off-by: Keir Fraser <keir@xensource.com>
Ian Campbell [Tue, 2 Jan 2007 14:19:47 +0000 (14:19 +0000)]
[PV-on-HVM] blkfront: use %Lu instead of %llu to xenbus_gather.
The 'll' length modifier is not available with scanf (and therefore
xenbus_gather) on older kernel versions so use 'L' which is available at
least back to 2.6.5.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Ian Campbell [Tue, 2 Jan 2007 14:14:15 +0000 (14:14 +0000)]
Install hvm and arch-x86 subdirectories of xen/include/public
to /usr/include/xen.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Ewan Mellor [Tue, 2 Jan 2007 13:35:25 +0000 (13:35 +0000)]
Don't canonicalise the resource inside res_security_check if security is off.
This had broken use of relative paths to refer to ISOs etc.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 2 Jan 2007 13:32:35 +0000 (13:32 +0000)]
Fix the error handling in acm.policy.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 2 Jan 2007 13:04:01 +0000 (13:04 +0000)]
Don't lose the image settings when rebooting domains. This fixes recent HVM
reboot problems -- we were passing 0 to shadow_mem_control, because Xend was
treating the domain as PV.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Tim Deegan [Tue, 2 Jan 2007 10:57:50 +0000 (10:57 +0000)]
[HVM] Don't set the shadow allocation to zero if the dom is still shadowed.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kaf24@localhost.localdomain [Sun, 31 Dec 2006 12:26:42 +0000 (12:26 +0000)]
[HVM] Change VCPU->LAPIC_ID mapping so that VCPU0 has ID0.
This fixes booting of older x86/64 Linux kernels.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@localhost.localdomain [Sun, 31 Dec 2006 11:59:47 +0000 (11:59 +0000)]
[PV-ON-HVM] Update evtchn interface to match new PV Linux interfaces.
Also fix unbind_from_irqhandler() to close event-channel port where
that is appropriate.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@localhost.localdomain [Sat, 30 Dec 2006 18:23:27 +0000 (18:23 +0000)]
[LINUX] Extend the event-channel interfaces to provide helper methods
for creating interdomain event channels bound to IRQ handlers.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@localhost.localdomain [Sat, 30 Dec 2006 15:45:13 +0000 (15:45 +0000)]
[HVM] Rationalise OEM and Creator IDs and Table Revisions.
Create virtualised IDs and use them consistently.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@localhost.localdomain [Sat, 30 Dec 2006 12:49:31 +0000 (12:49 +0000)]
[HVM] Minor HPET fixes/ and cleanups.
In particular, the definition of HPET_TN_SIZE_CAP is wrong.
From: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Fri, 29 Dec 2006 20:17:01 +0000 (20:17 +0000)]
Resurrect cset 13174:
766eec31afab, with one fix -- pass the fallback flag to
gettext.translation so that this module works if the message database is
missing (it's still an optional part of the build).
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Steven Hand [Fri, 29 Dec 2006 18:17:56 +0000 (18:17 +0000)]
(temporarily) revert cset 13174:
766eec31afab since it seems to break 64-bit;
a proper fix will arrive in the new year.
Signed-off-by: Steven Hand <steven@xensource.com>
Steven Hand [Fri, 29 Dec 2006 17:46:40 +0000 (17:46 +0000)]
Revert cset 13181:
f087c013cf12 since the event channel is already unbound via
blkif_free() -> unbind_from_irqhandler() -> unbind_from_irq()
Signed-off-by: Steven Hand <steven@xensource.com>
kaf24@localhost.localdomain [Fri, 29 Dec 2006 16:24:57 +0000 (16:24 +0000)]
Fix libxenstore library dependencies.
Signed-off-by: Mark Johnson <mark.johnson@sun.com>
kaf24@localhost.localdomain [Fri, 29 Dec 2006 16:23:11 +0000 (16:23 +0000)]
Explicitly use GNU msgfmt on non-GNU systems.
Signed-off-by: John Levon <john.levon@sun.com>
kaf24@localhost.localdomain [Fri, 29 Dec 2006 16:17:53 +0000 (16:17 +0000)]
[SOLARIS] Fix xentop build.
Signed-off-by: Keir Fraser <keir@xensource.com>
Steven Hand [Fri, 29 Dec 2006 14:25:03 +0000 (14:25 +0000)]
Minor clean ups to shadow logdirty peek / clean.
Signed-off-by: Steven Hand <steven@xensource.com>
kaf24@localhost.localdomain [Fri, 29 Dec 2006 14:12:55 +0000 (14:12 +0000)]
[HVM] Fix HPET timer to support 8-byte accesses, erroneous updates
to read-only bits, etc.
Signed-off-by: Keir Fraser <keir@xensource.com>
Steven Hand [Fri, 29 Dec 2006 13:02:19 +0000 (13:02 +0000)]
Remove unused #defines.
Signed-off-by: Steven Hand <steven@xensource.com>
Steven Hand [Fri, 29 Dec 2006 13:00:08 +0000 (13:00 +0000)]
Remove 'netbuf race' debug output - we get tons of these for ballooned
down domains, and there's no way for us to distinguish that from the
(transient) case of network buffers.
Also tidy up comment.
Signed-off-by: Steven Hand <steven@xensource.com>
Ewan Mellor [Thu, 28 Dec 2006 16:52:44 +0000 (16:52 +0000)]
Remove a few more explicit type conversions, now that stringify is fixed.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Thu, 28 Dec 2006 16:30:47 +0000 (16:30 +0000)]
Fix xmlrpclib2's stringify to cope with floats and longs, removing the need
for explicit type conversions in XendAPI.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Thu, 28 Dec 2006 16:14:48 +0000 (16:14 +0000)]
Improve the documentation of the set add/remove methods.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kaf24@localhost.localdomain [Thu, 28 Dec 2006 17:14:41 +0000 (17:14 +0000)]
[BLK] front: Fix free of event channel.
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
kaf24@localhost.localdomain [Thu, 28 Dec 2006 17:11:31 +0000 (17:11 +0000)]
[QEMU] Fix a number of signedness issues plus a typo in the version checking in vnc.c.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kaf24@localhost.localdomain [Thu, 28 Dec 2006 17:09:34 +0000 (17:09 +0000)]
[HVM][VMX] Fix regs set/get decoding in VMXAssist.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
Ewan Mellor [Thu, 28 Dec 2006 15:54:15 +0000 (15:54 +0000)]
Add a 1-PIF-per-network limit.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Thu, 28 Dec 2006 15:52:31 +0000 (15:52 +0000)]
Format Xen-API error messages nicely.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kaf24@localhost.localdomain [Thu, 28 Dec 2006 16:55:17 +0000 (16:55 +0000)]
Revert 13107:
04c5f7b71ff4175ae387b93845bb4c83ffb5efa9.
This was preventing W2K3 from installing or booting.
kaf24@localhost.localdomain [Thu, 28 Dec 2006 16:33:15 +0000 (16:33 +0000)]
[HVM] Fix assumptions that ISA IRQ 0 connects to GSI 0.
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Thu, 28 Dec 2006 15:28:45 +0000 (15:28 +0000)]
Added __repr__ implementation, initialise last_login_method to None, and
use gettext's ugettext explicitly, rather than using gettext.install. These
things together improve the error messages that you get when using this
module incorrectly in the interactive interpreter.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Thu, 28 Dec 2006 15:26:45 +0000 (15:26 +0000)]
Cope if a VIF is not attached to a network.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Thu, 28 Dec 2006 15:26:19 +0000 (15:26 +0000)]
Do not update the PV_ variables with the values outputted by the bootloader --
this gets us into all sorts of trouble when Xend is restarted and then the
domain is rebooted, because we expect to be able to handle the PV_kernel == ''
case by defaulting to pygrub.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Thu, 28 Dec 2006 15:23:31 +0000 (15:23 +0000)]
Fix return types for VBD.get_record and VIF.get_record.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Thu, 28 Dec 2006 15:00:15 +0000 (15:00 +0000)]
Fix booting caused by recent thinko.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Thu, 28 Dec 2006 12:59:58 +0000 (12:59 +0000)]
Fix reboot of PV domains when both kernel and bootloader are unspecified
(which is supposed to default to using pygrub).
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Thu, 28 Dec 2006 12:26:29 +0000 (12:26 +0000)]
Implement network.get_VIFs.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Wed, 27 Dec 2006 16:16:10 +0000 (16:16 +0000)]
Copy the xm configuration file into the distribution. Comment-out the Xen-API
configuration therein, preserving the default behaviour.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Wed, 27 Dec 2006 15:44:40 +0000 (15:44 +0000)]
Fix PV_initrd reference (should be PV_ramdisk).
Signed-off-by: Stefan Berger <stefanB@us.ibm.com>
Ewan Mellor [Wed, 27 Dec 2006 15:42:56 +0000 (15:42 +0000)]
Added network.{create,destroy}, and PIF.{create,create_VLAN,destroy}, and
a first blush at support for VLANs through Xen-API.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Wed, 27 Dec 2006 15:39:32 +0000 (15:39 +0000)]
Added Brctl.get_state, to support upcoming PIF implementation.
Signed-off-by: Ewan Mellor <ewan@xensource.com>